package com.water.wfo.sys.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * packageName com.water.wfo.sys.pojo.dto
 *
 * @author
 * @className MenuDto(处以class为网)
 * @date 2024/9/9
 * @description T0D0
 */
@Data
public class MenuDto implements Serializable {
    private static final long serialVersionUID = -3239793092140740108L;
    private Long id;

    @ApiModelProperty(value = "名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "描述")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty(value = "URL")
    @TableField("URL")
    private String url;

    @ApiModelProperty(value = "父ID")
    @TableField("PARENT_ID")
    private Long parentId;

    @ApiModelProperty(value = "排序")
    @TableField("ORDERNUM")
    private Integer ordernum;

    @ApiModelProperty(value = "类型")
    @TableField("TYPE")
    private Integer type;

    @ApiModelProperty(value = "状态")
    @TableField("STATE")
    private String state;

    private MenuDto children;
}
